package com.tocean.demo.repository;

import com.tocean.demo.entity.questionbank.Examination;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ExaminationRepository extends JpaRepository<Examination, Long> {
    Examination findByTid(String tid);

    List<Examination> findAllByTid(String id);

}
